package com.nyist.diseasepreventionserver.repository;

import com.nyist.diseasepreventionserver.entity.HealthDaily;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

public interface HealthDAO extends JpaRepository<HealthDaily,Integer> {
   /* @Modifying
    @Query(value = "update user u set user_health = userHealth where user_sid = userSid")
    void updateHealth(Integer userSid);*/
}
